package com.example.zhunongzonghe.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.zhunongzonghe.beans.ZnMoresBean;
import com.example.zhunongzonghe.entity.ZnMores;


public interface IZnMoresService extends IService<ZnMores> {
    /**
     * 后台查询全部
     * @param currentPage
     * @param pageNum
     * @param searchInfo
     * @return
     */
    Page<ZnMoresBean> SearchMoresAll(Integer currentPage,Integer pageNum,Object searchInfo);

    /**
     * 前台查询全部
     * @param currentPage
     * @param pageNum
     * @return
     */
    Page<ZnMoresBean> selectMoresAll(Integer currentPage,Integer pageNum);

    /**
     * 查询单个风俗文化信息
     * @param moresId
     * @return
     */
    ZnMoresBean getMoresInfo(Integer moresId);

    /**
     * 通过分类查询风俗文化
     * @param classifyId
     * @return
     */
    Page<ZnMoresBean> selectClassifyId(Integer currentPage,Integer pageSize,Integer classifyId);
}
